{php include wl_template('common/header');}
<ul class="nav nav-tabs">
	<li class="active"><a href="#">分组列表</a></li>
</ul>
<div class="app-content">
	<div class="app-filter">
		<div class="filter-action">
			<a href="{php echo web_url('area/hotarea/groupedit')}" class="btn btn-primary">添加分组</a>
		</div>
	</div>
	<div class="app-table-list">
		<div class="table-responsive">
			<table class="table table-hover">
				<thead>
					<tr>
						<th style="width:100px;text-align:center;">ID</th>
						<th style="width:100px;text-align:center;">名称</th>
						<th style="width:100px; text-align:center;">排序</th>
						<th style="width:200px; text-align:center">操作</th>
					</tr>
				</thead>
				<tbody>
					{loop $lists $list}
					<tr>
						<td class="text-center">
							{$list['id']}
						</td>
						<td class="text-center">
							{$list['name']}
						</td>
						<td class="text-center">
							<label class='label'>{$list['sort']}</label>
						</td>
						<td class="text-center" style="text-align: center;">
	                		<a class="btn btn-default sm" href="{php echo web_url('area/hotarea/groupedit', array('id' => $list['id']));}">编辑</a> -
	                		<a class="btn btn-danger sm" href="{php echo web_url('area/hotarea/groupdel', array('id' => $list['id']));}" data-toggle="ajaxRemove" data-confirm="确定要删除地区分组吗？">删除</a>
						</td>
					</tr>
					{/loop}
				</tbody>
			</table>
		</div>
		<div class="app-table-foot clearfix">
			<div class="pull-left">
				
			</div>
			<div class="pull-right">
				{$pager}
			</div>
		</div>
	</div>
</div>
{php include wl_template('common/footer');}